package com.wandian.setting.adapter;

import android.widget.TextView;

import com.alibaba.android.arouter.launcher.ARouter;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.mylib.libcore.config.RouterConfig;
import com.wandian.setting.R;


/**
 * @author Administrator
 * @date 2019/12/16-13:32
 * @description UserInfoWLRecycleAdapter
 **/
public class UserInfoWLRecycleAdapter extends BaseQuickAdapter<String, BaseViewHolder> {


    private int number = 0;
    private String isMine;
    public UserInfoWLRecycleAdapter(int layoutResId,String isMine) {
        super(layoutResId);
        this.isMine = isMine;
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        TextView tv_dz_number = helper.getView(R.id.tv_dz_number);
        tv_dz_number.setText(number+"");
        helper.getView(R.id.tv_dz_number).setOnClickListener(v -> {
            number++;
            tv_dz_number.setText(number+"");
        });

    }
}
